package com.qinglei.recoup.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 
 *
 * @author dqh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_wechat_comment")
@ApiModel(value="UserWechatComment对象", description="")
public class UserWechatComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id 主键")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "床位Id")
    @NotNull
    private Integer bedId;

    @ApiModelProperty(value = "微信openId")
    @NotEmpty
    private String openId;

    @ApiModelProperty(value = "评价信息  0，不确定，1，准确，2不准确")
    @NotNull
    private Integer commentMsg;

    @ApiModelProperty(value = "统计时间")
    @NotNull
    private LocalDate statisticsDate;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
